package cn.sfrog.project.biz.admin.domain;

import cn.sfrog.common.core.domain.BaseEntity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;


@Data
@TableName("biz_agency_commission")
public class BizAgencyCommission extends BaseEntity<BizAgencyCommission>
{
    private static final long serialVersionUID = 1L;

    public static final BizAgencyCommission DAO = new BizAgencyCommission();

    /** 代理分佣表 */
    @TableId(type = IdType.AUTO)
    private Long id;

    /** 代理申请表id */
    private Long agencyId;

    /** 服务订单id */
    private Long orderId;

    /** 下单用户 */
    private Long rechargeUserId;

    /** 下单金额 */
    private BigDecimal rechargeAccount;

    /** 佣金 */
    private BigDecimal commissionAmount;

}
